Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plat: rcar: Rework board id handling #3

Open
wants to merge 2 commits into
base: rcar_gen3
Choose a base branch
from
Open

plat: rcar: Rework board id handling #3

wants to merge 2 commits into from

Conversation

Yaaaaao
Copy link

@Yaaaaao Yaaaaao commented May 3, 2017

  • prefer board ID specified during compiling
  • board ID read from PMIC EEPROM if it is valid
  • fallback to Salvator-X Rev1.0

yaaaaaao added 2 commits May 3, 2017 10:57
Detection rule:
 - prefer board ID specified during compiling
 - board ID read from PMIC EEPROM if it is valid
 - fallback to Salvator-X Rev1.0
Add makefile options BOARD_ID=0xXX to specify the board for which
the IPL is built.
g_board_id = BOARD_DEFAULT;
#endif
}
return board_name[board_id];
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please note the bug in get_board_name. the board name id is (board_id >> BOARD_NAME_ID_SHIFT).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant